home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ARASAN_S.ZIP
/
COLOR.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-14
|
245b
|
14 lines
#include "color.h"
char *Image( const ColorType color )
{
static char *colortxt[2] = { "Black", "White" };
return colortxt[color];
}
ostream & operator << (ostream &o, ColorType color)
{
o << Image(color);
return o;
}